package com.cap1.config;

import com.cap1.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

@Configuration
public class MainConfig {
    @Bean
    public Person person() {
        return new Person("james", 20);
    }

    List list = new ArrayList();
    List ls = new LinkedList();
}
